package wechat

import (
	"github.com/astaxie/beego/logs"
)

// Wechat测试模块
func Bash(){
	// 获取微信uuid
	uiud := get_uuid()
	logs.Info(uiud)
	// 获取微信二维码
	logs.Info("https://login.weixin.qq.com/qrcode/"+uiud)
	// 检测是否登录
	login_url := ""
	for {
		if ok,url := get_check(uiud); ok {
			login_url = url
			break
		}
	}
	get_session(login_url)
	logs.Info("处理完成")
}